home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / mtl.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  45 lines

  1. MTL - Cutomized error messages in your own libraries 
  2. From: detlef@mwhh.hanse.de (Detlef Mueller) 
  3. Newsgroups: comp.sources.hp48 
  4. Date: 29 Aug 91 01:50:13 GMT 
  5.  
  6. [Note: This package includes these files: 
  7.  
  8. * MTL.LIB      - Message Table Library, a downloadable binary demo 
  9. * MTL.DOC      - this document 
  10. * MSGTST.S     - MTL.LIB source code (see how he did it!) 
  11.   MKMSGTST.BAT - DOS batch file for creating MTL.LIB 
  12.   MTL.M        - SLOAD control file 
  13.   MSGTST.MN    - MAKEROM control file 
  14.  
  15.  For the demo, all you need is MTL.LIB.  If you wish to see how he did it, 
  16.  you'll need all three asterisked files.  Doing it yourself requires all six 
  17.  files.  -jkh-] 
  18.  
  19. Hello, world. 
  20.  
  21. Want to include messages into a library with the RPL tools?  The manuals give 
  22. no answers, so I had to find it out 8-). I think the files are self-explaining. 
  23. To install the little demonstration library, process the following steps: 
  24.  
  25. [Note!  Steps 1 and 2 create MLT.LIB, but you don't need to, because I already 
  26.  did it for you.  You can jump to step 3...  -jkh-] 
  27.                                        | 
  28. +--------------------------------------+ 
  29. |     1) Cut out the listings and put them into the appropriate files 
  30. |     2) Run MKMSGTST.BAT 
  31. +-->  3) Download the resulting file MTL.LIB into your HP48 
  32.       4) Recall MTL.LIB onto the stack 
  33.       5) Enter the port number (0,1,2) where you want to store it and 
  34.          press STO. 
  35.       6) Switch the HP48 off, then on again. 
  36.  
  37. MTL.LIB will now be installed as a library named MSGTST, ID nr. 809. Try its 
  38. programs MSG1, MSG2 and MSG3; these generate errors #32901h, #32902h, and 
  39. #32903h, which the library intercepts and gives an error message for.  (You can 
  40. get the same results by typing #32901h DOERR, etc.). 
  41.  
  42. 'Hope this is useful information, 
  43.     =-), Detlef. 
  44.